package org.jeecg.entity.meter;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.modules.system.entity.BaseEntity;

/**
 * @Description: 仪表设备网关
 * @Author: liurui
 * @Date:   2020-11-20
 * @Version: V1.0
 */
@Data
@TableName("meter_gateway")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="meter_gateway对象", description="仪表设备网关")
public class MeterGateway extends BaseEntity  {
    
	/**创建者id*/
	@Excel(name = "创建者id", width = 15)
    @ApiModelProperty(value = "创建者id")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createdTime;
	/**delFlag*/
	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
	private String delFlag;
	/**id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
	private String id;
	/**是否启用 0:启用  1：不启用*/
	@Excel(name = "是否启用 0:启用  1：不启用", width = 15)
    @ApiModelProperty(value = "是否启用 0:启用  1：不启用")
	private Integer isUse;
	/**网关公司名称*/
	@Excel(name = "网关公司名称", width = 15)
    @ApiModelProperty(value = "网关公司名称")
	private String name;
	/**小区ID*/
	@Excel(name = "小区ID", width = 15)
    @ApiModelProperty(value = "小区ID")
	private String projectId;
	/**产品key*/
	@Excel(name = "产品key", width = 15)
    @ApiModelProperty(value = "产品key")
	private String requestUrl;

	/**是否充值到表（0：否  1：是）*/
	@Excel(name = "是否充值到表（0：否  1：是）", width = 15)
	@ApiModelProperty(value = "是否充值到表（0：否  1：是）")
	private Integer isPayToMeter;
	@ApiModelProperty(value = "iot类型")
	private String iotType;
	/**服务中心ID*/
	@Excel(name = "物业公司id", width = 15)
    @ApiModelProperty(value = "物业公司id")
	private String tenantId;
	/**修改者id*/
	@Excel(name = "修改者id", width = 15)
    @ApiModelProperty(value = "修改者id")
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private Date updatedTime;

	@TableField(exist = false)
	private String meterCode;

	@TableField(exist = false)
	private String meterKey;
}
